#ifndef TEXTFIELDWIN_H
#define TEXTFIELDWIN_H

#include <QtGui/QDialog>
#include <QtDebug>
#include <QKeyEvent>
#include <QKeySequence>
#include <QSettings>
#include "windowmover.h"
#include <QDesktopWidget>
#include <QDropEvent>
#include <QUrl>
#include <QDateTime>

namespace Ui
{
    class TextFieldWin;
}

class TextFieldWin : public QDialog
{
    Q_OBJECT

public:
    TextFieldWin(QWidget *parent = 0);
    ~TextFieldWin();
    void keyPressEvent(QKeyEvent *event);
    void show();
    void hide();
    void activate();
    void applyWindowFlags();
protected:
    bool eventFilter(QObject *object, QEvent *event);
    void resizeEvent(QResizeEvent *event);
private:
    Ui::TextFieldWin *ui;
    WindowMover *mover;
};

#endif // TEXTFIELDWIN_H
